//
//  CPresenceMgr.h
//  wanzhaoIM
//
//  Created by wanzhao on 15/12/3.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CPresenceModel;

@interface CPresenceMgr : NSObject


-(BOOL)insetPresence:(CPresenceModel *)presence;
- (BOOL)updatePressenceWithPresence:(CPresenceModel *)presence;
-(BOOL)batchInsertPresence:(NSArray *)presenceList;
- (CPresenceModel *)getPresenceWithUserCode:(NSString *)userCode;
- (BOOL)updateAllPresenceIsUnAvailable;

@end
